<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<title>OSS web直传</title>
	<link rel="stylesheet" type="text/css" href="style.css"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>

<form name=theform>
<input type="hidden" name="myradio" value="local_name" checked=true/>

</form>

<div id="ossfile">你的浏览器不支持flash,Silverlight或者HTML5！</div>

<br/>


<div id="container">
	<a id="selectfiles" href="javascript:void(0);" class='btn'>选择文件</a>
	<a id="postfiles" href="javascript:void(0);" class='btn'>开始上传</a><br>

	<a id="xuan" href="javascript:void(0);" class='btn'>选择文件</a>
	<a id="shang" href="javascript:void(0);" class='btn'>开始上传</a><br>

</div>
<input type='button' value='value' onclick='fun()'>

<pre id="console"></pre>

<p>&nbsp;</p>

</body>
<script type="text/javascript" src="lib/plupload-2.1.2/js/plupload.full.min.js"></script>
<script type="text/javascript" src="upload.js"></script>
<script>
	function fun(){
		var name = document.getElementById('ossfile').childNodes;
		for(var i=0;i<name.length;i++){
			console.log(name[i].firstChild);
		}
		
	}
</script>
</html>
